package cn.tfyhyc.springcloud.service;

import org.springframework.stereotype.Component;

/**
 * @author 头发又黑又长
 * @Date 2022/10/12 16:46
 * @email zwb15083976291@163.com
 */
@Component
public class PaymentFallbackService implements PaymentHystrixService {
    @Override
    public String paymentInfo_OK(Integer id) {
        return "------PaymentFallbackService fall paymentInfo_OK，/(ㄒoㄒ)/~~";
    }

    @Override
    public String paymentInfo_TimeOut(Integer id) {
        return "------PaymentFallbackService fall paymentInfo_TimeOut ，/(ㄒoㄒ)/~~";
    }
}
